package com.zlp.mall.modules.pms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlp.mall.modules.pms.dto.resp.ProductAttrInfoResp;
import com.zlp.mall.modules.pms.model.ProductAttribute;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品属性参数表 Mapper 接口
 * </p>
 *
 * @author ZouLiPing
 * @since 2021-09-23
 */
public interface ProductAttributeMapper extends BaseMapper<ProductAttribute> {

    List<ProductAttrInfoResp> getProductAttrInfo(Long productCategoryId);

    int checkProductAttId(@Param(value = "ids") List<Long> ids);
}
